#include <iostream>
using namespace std;
int main() {
  try {
    int* point = new int[0x1ffffffff];
    delete[] point;
  } catch (bad_alloc) {
    cout << " Memory allocation Failed." << endl;
  }
  return 0;
}
